<?php
/*
 * template/template-list.phtml
 */
?>
<?php
// Variables
$templateList = $this->templateList;
?>
<select class='templateList' name='copy'>
    <?php if ($templateList->count() > 0): ?>
	<?php foreach ($templateList as $tpl): ?>
	    <option value='<?php echo $tpl->id; ?>'><?php echo $tpl->libelle; ?></option>
	<?php endforeach; ?>
    <?php else: ?>
	    <option value=''>Aucun Planning Type Disponible pour ce Site</option>
    <?php endif; ?>
</select>

<script type='text/javascript'>
$(function(){
    setTimeout(function(){
	$('.templateList').css('box-shadow', '0px 0px 5px 0px #ff5b22');
    }, 500);
});
</script>
